package com.qianfeng.service;

import com.qianfeng.entity.Department;

import java.util.List;

public interface DepartmentService {
    /**
     * 获取集合
     * @return
     */
    List<Department> getDepartmentList();

    /**
     * 通过Id获取
     * @param deptId
     * @return
     */
    Department getDepartmentById(Integer deptId);
}
